package com.authine.cloudpivot.ext.enums.kingdee;


/**
 * @Author: 李国祥
 * @Date: 2019/8/13 8:35
 * @Version 1.0
 */
public enum BusinessType {
    /**
     * todo 因为云枢平台的枚举长度有限制 部分字段跟原来的有差异
     * 收款申请单   CollectionApplicationForm -> CollectionApplyForm
     * 退款申请单   CollectionReturnApplicationForm -> CollectionReturnApplyForm
     * 平台供应商服务费蓝票单   PlatformVendorServiceFeeBlueTicket -> PlatformVendorBlueTicket
     * 平台供应商服务费红票单   PlatformSupplierServiceFeeRedTicket -> PlatformSupplierRedTicket
     */
    Receipt("收货单", "1", "Receipt"),
    ReturnOrder("退货单", "2", "ReturnOrder"),
    PlatformCustomerInvoice("平台客户发票单", "3", "PlatformCustomerInvoice"),
    PlatformSupplierInvoice("平台供应商发票单", "4", "PlatformSupplierInvoice"),
    PlatformCustomerRedInvoice("平台客户红冲发票单", "5", "PlatformCustomerRedInvoice"),
    PlatformSupplierRedInvoice("平台供应商红冲发票单", "6", "PlatformSupplierRedInvoice"),
    PlatformVendorBlueTicket("平台供应商服务费蓝票单", "7", "PlatformVendorBlueTicket"),
    PlatformSupplierRedTicket("平台供应商服务费红票单", "8", "PlatformSupplierRedTicket"),
    TransactionRecord("交易记录", "9", "TransactionRecord"),
    TransferPaymentSlip("转采付款单", "10", "TransferPaymentSlip"),
    TransferTicket("转采收票单", "11", "TransferTicket"),
    Employee("员工", "12", "Employee"),
    Department("部门", "13", "Department"),
    Customer("客户", "14", "Customer"),
    Vendor("供应商", "15", "Vendor"),
    GoldenTaxInvoice("金税发票", "16", "GoldenTaxInvoice"),
    TransferReturnOrder("转采退货单", "17", "TransferReturnOrder"),
    PaymentRequest("付款申请单", "18", "PaymentRequest"),
    TransferOrder("转采收货", "19", "TransferOrder"),
    OrderTransfer("收退货", "20", "OrderTransfer"),
    CollectionApplyForm("收款申请单", "21", "CollectionApplyForm"),
    CollectionReturnApplyForm("退款申请单", "22", "CollectionReturnApplyForm"),
    PlatformWriteOff("核销单", "23", "PlatformWriteOff");

    public String text;
    public String no;
    public String value;

    BusinessType(String text, String no, String value) {

        this.text = text;
        this.no = no;
        this.value = value;
    }


    @Override
    public String toString() {

        return value;
    }




}
